<div class="block block-{{ data.contentModel }}" id="{{ data.getId() }}">
    {% if data.name is defined AND data.displayTitle %}<h3 class="block-title">{{ data.name }}</h3>{% endif %}
    {% if userList %}
        <ul class="block-user-list">
            {% for item in userList %}
                <div class="block-user-avatar">
                    <a href="{{ url(['for':'user','id':item.getId()]) }}">
                        <img alt="{{ item.name }}" src="{% if item.face is defined AND item.face %}{{ item.face }}{% else %}https://avatar.duoshuo.com/avatar-50/214/226670.jpg{% endif %}">
                    </a>
                </div>

                <p class="block-user-info">
                    <a href="{{ url(['for':'user','id':item.getId()]) }}" class="block-user-name">{{ item.name }}</a>
                    {% if item.loginTime is defined AND item.loginTime %}<span title="{{ timeTran(item.loginTime) }}" class="comment-time">{{ timeTran(item.loginTime) }}</span>{% endif %}
                    <span class="block-user-description">{% if item.description is defined AND item.description %}{{ item.description }}{% else %}这个人很懒，什么都没有留下{% endif %}</span>
                </p>
            {% endfor %}
        </ul>
    {% endif %}
</div>